package com.clwl.supervise.superviseapp.entity.base;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName(value = "jg_message")
public class JgMessage implements Serializable {

    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    /**
     * 消息标题
     */
    @TableField(value = "NOTICE_TITLE")
    private String noticeTitle;

    /**
     * 1-未发布；2-已发布
     */
    @TableField(value = "`STATUS`")
    private String status;

    @TableField(value = "CREATE_BY")
    private String createBy;

    @TableField(value = "CREATE_TIME")
    private Date createTime;

    @TableField(value = "UPDATE_BY")
    private String updateBy;

    @TableField(value = "UPDATE_TIME")
    private Date updateTime;

    /**
     * 备注信息
     */
    @TableField(value = "REMARK")
    private String remark;

    /**
     * 消息内容
     */
    @TableField(value = "CONTENT_HTML")
    private String contentHtml;

    private static final long serialVersionUID = 1L;
}